package com.leps.nq.op.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 巡检日志表
 * </p>
 *
 * @author hex
 * @since 2022-05-22
 */
@Getter
@Setter
@TableName("op_inspection")
@ApiModel(value = "OpInspection对象", description = "巡检日志表")
public class OpInspection implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("巡检ID")
    @TableId(value = "inspection_id", type = IdType.AUTO)
    private Long inspectionId;

    @ApiModelProperty("巡检时间")
    private Date inspectionTime;

    @ApiModelProperty("井开关状态")
    private Integer wellOnoffStatus;

    @ApiModelProperty("设备泵注速度(L/d)")
    private Double pumpInjectionSpeed;

    @ApiModelProperty("场地清理")
    private String siteClearance;

    @ApiModelProperty("设备巡检")
    private String inspectionContent;

    @ApiModelProperty("现场工艺改变信息")
    private String processTypeChange;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("井ID")
    private Integer wellId;
    //@TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("井名称")
    private String wellName;

    @ApiModelProperty("归属场站(平台)ID")
    private Integer stationId;
    //@TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("归属场站(平台)名称")
    private String stationName;

    @ApiModelProperty("归属区块ID")
    private Integer areaId;
    //@TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("归属区块名称")
    private String areaName;

    @ApiModelProperty("归属客户ID")
    private Integer custId;
    //@TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("归属客户名称")
    private String custName;

    @ApiModelProperty("删除标志 (0存在 1删除)")
    @TableLogic
    private Integer delFlag;
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("创建者")
    private String createBy;
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("创建时间")
    private Date createTime;
    @TableField(fill = FieldFill.UPDATE)
    @ApiModelProperty("更新者")
    private String updateBy;
    @TableField(fill = FieldFill.UPDATE)
    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("归属泵ID")
    private Integer pumpId;

    @ApiModelProperty("归属泵名称")
    //@TableField(fill = FieldFill.INSERT)
    private String pumpName;

    @ApiModelProperty("归属PLC_ID")
    private Integer plcId;

    @ApiModelProperty("归属PLC名称")
    //@TableField(fill = FieldFill.INSERT)
    private String plcName;

    @ApiModelProperty("归属PLC大类别 (防腐 / 泡排)")
    //@TableField(fill = FieldFill.INSERT)
    private String plcType1;

    @ApiModelProperty("归属PLC小类别 (单泵 / 撬装 / 一泵多注 / 撬装一泵多注)")
    //@TableField(fill = FieldFill.INSERT)
    private String plcType2;
}
